#!/bin/bash

echo "正在启动郑州移不动系统..."
echo ""
echo "请确保已安装Python和Django"
echo ""

# 检查Django是否安装
python -c "import django; print('Django版本:', django.get_version())" 2>/dev/null
if [ $? -ne 0 ]; then
    echo "错误: 未找到Django，请先安装: pip install django"
    exit 1
fi

echo ""
echo "正在启动开发服务器..."
echo "服务器地址: http://127.0.0.1:8000"
echo "测试账户: 13800138000 / test123456"
echo ""
echo "按 Ctrl+C 停止服务器"
echo ""

python manage.py runserver
